#!/bin/sh

usage(){
	echo "usage : $0 partagename pathToMount"
	exit 1
}

partagename=${1}
pathToMount=${2}

if [ $#  -lt 2 ]
then 
	usage
fi

echo "mount a vm shared folder"

#mount -t vboxsf partage /home/jo/vboxpartage
mount -t vboxsf ${partagename} ${pathToMount}

echo "vm shared folder added"
